package oop2.Task2;

public class Staff {
    String sNo; //工号
    String name;
    int age;
    String sex;
    String status;  //职位
    int salary; //薪水

    public void show() {
        System.out.println("工号:" + sNo + ",员工姓名:" + name + ",年龄:" + age + ",性别:" + sex + ",职务:" + status + ",薪水:" + salary);
    }
}
